package com.ruoyi.projectInfo.service.impl;

import com.ruoyi.projectInfo.domain.HouseProjectInfoT;
import com.ruoyi.projectInfo.mapper.HouseProjectInfoMapper;
import com.ruoyi.projectInfo.service.IHouseProjectInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 维修内容Service业务层处理
 * 
 * @author tuyeqi
 * @date 2023-05-15
 */
@Service
public class HouseProjectInfoServiceImpl implements IHouseProjectInfoService 
{
    @Autowired
    private HouseProjectInfoMapper houseProjectInfoMapper;

    @Override
    public HouseProjectInfoT selectHouseProjectInfoByInfoId(Long infoId)
    {
        return houseProjectInfoMapper.selectHouseProjectInfoByInfoId(infoId);
    }

    @Override
    public List<HouseProjectInfoT> selectHouseProjectInfoList(HouseProjectInfoT houseProjectInfo)
    {
        return houseProjectInfoMapper.selectHouseProjectInfoList(houseProjectInfo);
    }

    @Override
    public HouseProjectInfoT selectInfoName(HouseProjectInfoT houseProjectInfo) {
        return houseProjectInfoMapper.selectInfoName(houseProjectInfo);
    }

    @Override
    public int insertHouseProjectInfo(HouseProjectInfoT houseProjectInfo)
    {
        return houseProjectInfoMapper.insertHouseProjectInfo(houseProjectInfo);
    }

    @Override
    public int updateHouseProjectInfo(HouseProjectInfoT houseProjectInfo)
    {
        return houseProjectInfoMapper.updateHouseProjectInfo(houseProjectInfo);
    }

}
